home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gReleaseMouse, gSpriteSelection
- if gReleaseMouse then
- if gSpriteSelection = 6 then
- searchCurrentFolder()
- putFilesToField()
- go("open")
- else
- if gSpriteSelection = 7 then
- searchCurrentFolder()
- putExistingFilesToField()
- saveNote()
- else
- if gSpriteSelection = 8 then
- searchCurrentFolder()
- putExistingFilesToField()
- go("saveas")
- else
- go("notes")
- end if
- end if
- end if
- else
- if rollOver(5) then
- nothing()
- end if
- if rollOver(6) then
- set the castNum of sprite 6 to cast "open.down"
- updateStage()
- else
- set the castNum of sprite 6 to cast "open.up"
- updateStage()
- end if
- if rollOver(7) then
- set the castNum of sprite 7 to cast "save.down"
- updateStage()
- else
- set the castNum of sprite 7 to cast "save.up"
- updateStage()
- end if
- if rollOver(8) then
- set the castNum of sprite 8 to cast "saveas.down"
- updateStage()
- else
- set the castNum of sprite 8 to cast "saveas.up"
- updateStage()
- end if
- go(the frame)
- end if
- if rollOver(10) then
- set the castNum of sprite 10 to cast "icon.down"
- pupSprites(1, 48, 0)
- updateStage()
- go("help")
- end if
- end
-
- on mouseUp
- global gReleaseMouse, gSpriteSelection
- set gReleaseMouse to 1
- if rollOver(6) then
- set gSpriteSelection to 6
- pupSprites(1, 48, 0)
- updateStage()
- else
- if rollOver(7) then
- set gSpriteSelection to 7
- pupSprites(1, 48, 0)
- updateStage()
- else
- if rollOver(8) then
- set gSpriteSelection to 8
- pupSprites(1, 48, 0)
- updateStage()
- else
- set gSpriteSelection to 0
- pupSprites(1, 48, 0)
- updateStage()
- end if
- end if
- end if
- end
-